package com.ruoyi.consumables.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 申请记录对象 apply_record
 * 
 * @author ruoyi
 * @date 2023-04-22
 */
public class ApplyRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 记录编码 */
    private Long applyRecordId;

    /** OA编号 */
    @Excel(name = "OA编号")
    private String applyOaNumber;

    /** 申请人 */
    @Excel(name = "申请人")
    private String applyName;

    /** 申请时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "申请时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date applyTime;

    /** 耗材名称 */
    @Excel(name = "耗材名称")
    private String applyConName;

    /** 耗材规格 */
    @Excel(name = "耗材规格")
    private String applyConSpecification;

    /** 耗材数量 */
    @Excel(name = "耗材数量")
    private Long applyConCount;

    /** 耗材单位 */
    @Excel(name = "耗材单位")
    private String applyConUnit;

    /** 使用工号 */
    @Excel(name = "使用工号")
    private String userId;

    /** 使用人 */
    @Excel(name = "使用人")
    private String user;

    /** 使用部门 */
    @Excel(name = "使用部门")
    private String department;

    /** 采购状态 */
    @Excel(name = "采购状态")
    private String purchaseStatus;

    /** 领用编号 */
    @Excel(name = "领用编号")
    private String receiveOaNumber;

    public void setApplyRecordId(Long applyRecordId) 
    {
        this.applyRecordId = applyRecordId;
    }

    public Long getApplyRecordId() 
    {
        return applyRecordId;
    }
    public void setApplyOaNumber(String applyOaNumber) 
    {
        this.applyOaNumber = applyOaNumber;
    }

    public String getApplyOaNumber() 
    {
        return applyOaNumber;
    }
    public void setApplyName(String applyName) 
    {
        this.applyName = applyName;
    }

    public String getApplyName() 
    {
        return applyName;
    }
    public void setApplyTime(Date applyTime) 
    {
        this.applyTime = applyTime;
    }

    public Date getApplyTime() 
    {
        return applyTime;
    }
    public void setApplyConName(String applyConName) 
    {
        this.applyConName = applyConName;
    }

    public String getApplyConName() 
    {
        return applyConName;
    }
    public void setApplyConSpecification(String applyConSpecification) 
    {
        this.applyConSpecification = applyConSpecification;
    }

    public String getApplyConSpecification() 
    {
        return applyConSpecification;
    }
    public void setApplyConCount(Long applyConCount) 
    {
        this.applyConCount = applyConCount;
    }

    public Long getApplyConCount() 
    {
        return applyConCount;
    }
    public void setApplyConUnit(String applyConUnit) 
    {
        this.applyConUnit = applyConUnit;
    }

    public String getApplyConUnit() 
    {
        return applyConUnit;
    }
    public void setUserId(String userId) 
    {
        this.userId = userId;
    }

    public String getUserId() 
    {
        return userId;
    }
    public void setUser(String user) 
    {
        this.user = user;
    }

    public String getUser() 
    {
        return user;
    }
    public void setDepartment(String department) 
    {
        this.department = department;
    }

    public String getDepartment() 
    {
        return department;
    }
    public void setPurchaseStatus(String purchaseStatus) 
    {
        this.purchaseStatus = purchaseStatus;
    }

    public String getPurchaseStatus() 
    {
        return purchaseStatus;
    }
    public void setReceiveOaNumber(String receiveOaNumber) 
    {
        this.receiveOaNumber = receiveOaNumber;
    }

    public String getReceiveOaNumber() 
    {
        return receiveOaNumber;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("applyRecordId", getApplyRecordId())
            .append("applyOaNumber", getApplyOaNumber())
            .append("applyName", getApplyName())
            .append("applyTime", getApplyTime())
            .append("applyConName", getApplyConName())
            .append("applyConSpecification", getApplyConSpecification())
            .append("applyConCount", getApplyConCount())
            .append("applyConUnit", getApplyConUnit())
            .append("userId", getUserId())
            .append("user", getUser())
            .append("department", getDepartment())
            .append("purchaseStatus", getPurchaseStatus())
            .append("receiveOaNumber", getReceiveOaNumber())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
